package com.ambition.mallchat.common.user.service.impl;

import com.ambition.mallchat.common.user.dao.UserDao;
import com.ambition.mallchat.common.user.domain.entity.User;
import com.ambition.mallchat.common.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: mallchat-learnning
 * @ClassName UserServiceImpl
 * @description:
 * @author: oldTea
 * @create: 2023-10-28 09:44
 * @Version 1.0
 **/
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public Long saveUser(User insert) {
        boolean save = userDao.save(insert);
        return null;
    }
}